package cn.com.yinhex.dao;

import java.util.List;

import cn.com.yinhex.domain.User;
import cn.com.yinhex.util.Pager;

public interface UserDao {
	
	public User login(String email,String password) throws Exception;
	
	public void insert(User user)throws Exception;
	
	public List<User>  getUserList(String keyword,Pager pager) throws Exception;
	
	public void delete(String userid) throws Exception;
	
	public void updateUser(User user) throws Exception;
	
	public User  getUserById(String userId) throws Exception;

}
